home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 401-425 / disk_407 / dmouse / installhandler < prev    next >
Text File  |  1992-05-06  |  761b  |  26 lines

  1. .K ""
  2. echo "This script will install dmouse-handler, after checking to see if"
  3. echo "you already have one.  If so, it will check the date and size"
  4. echo "of the installed one, and the one in this distribution, and give"
  5. echo "you the option of installing the one found here."
  6. echo ""
  7.  
  8. if not EXISTS l:dmouse-handler
  9.     echo "No existing handler, installing l:dmouse-handler..."
  10.     copy l/dmouse-handler l:dmouse-handler
  11. else
  12.     echo "Examine the info for the current and new handler."
  13.     echo ""
  14.     list l:dmouse-handler
  15.     list l/dmouse-handler
  16.     echo ""
  17.     ask "Do you wish to overwrite l:dmouse-handler?"
  18.     if WARN
  19.         echo "Updating l:dmouse-handler..."
  20.         copy l/dmouse-handler l:dmouse-handler
  21.     endif
  22. endif
  23.  
  24. echo "All Done.  Click close gadget to get rid of window."
  25. endcli
  26.